package cqrtplm.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.ty.basic.entity.CTyEntityBaseDO;
import com.ty.basic.util.TyOtype;
import cqrtplm.constant.RTTableTypeConstant;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.Date;

@Data
@Entity
@Table(name = "RT_CFG_DESCRIBE_INFORMATION")
@TyOtype(
        displayName = RTTableTypeConstant.TYPE_DESCRIBE_INFORMATION
)

public class RTDescribeInformationDO extends CTyEntityBaseDO {

    @Id
    @TableId
    @Column(name = "oid", nullable = false, precision = 38)
    private String oids;

    @Column(name = "create_user", length = 60)
    private String createUser;

    @Column(name = "create_user_cname", length = 60)
    private String createUserCname;

    @Column(name = "created_company_id", length = 60)
    private String createdCompanyId;

    @Column(name = "dr")
    private BigInteger dr;

    @Column(name = "owned_company_ids", length = 600)
    private String ownedCompanyIds;

    @Column(name = "update_user", length = 60)
    private String updateUser;

    @Column(name = "update_user_cname", length = 60)
    private String updateUserCname;

    @Column(name = "ver")
    private BigInteger ver;

    @Column(name = "describe_information_code", nullable = false, length = 64)
    private String describeInformationCode;

    @Column(name = "describe_information_info", length = 64)
    private String describeInformationInfo;

    @Column(name = "ENGRAVE_CODE", length = 64)
    private String engraveCode;

    @Column(name = "ENGRAVE_NAME", length = 64)
    private String engraveName;

//    @Column(name = "order")
//    private Integer order;

    @Column(name = "stop_flag")
    private BigInteger stopFlag;

    @Column(name = "order_require", length = 200)
    private String orderRequire;

    @Column(name = "remarks", length = 500)
    private String remarks;

    @Column(name = "row1", length = 200)
    private String row1;

    @Column(name = "row2", length = 200)
    private String row2;

    @Column(name = "row3", length = 200)
    private String row3;

    @Column(name = "row4", length = 200)
    private String row4;

    @Column(name = "row5", length = 200)
    private String row5;

    @Column(name = "start_time")
    private Timestamp startTime;

    @Column(name = "stop_time")
    private Timestamp stopTime;

    @Column(name = "stop_user_code", length = 60)
    private String stopUserCode;

    @Column(name = "stop_user_name", length = 60)
    private String stopUserName;

    @Column(name = "technical_require", length = 500)
    private String technicalRequire;

    @Column(name = "test_require", length = 500)
    private String testRequire;

    @Column(name = "DEV_CODE", length = 8000)
    private String devCode;

    @Column(name = "row1_rule1", length = 500)
    private String row1Rule1;

    @Column(name = "row1_rule2", length = 500)
    private String row1Rule2;

    @Column(name = "row1_rule3", length = 500)
    private String row1Rule3;

    @Column(name = "row2_rule1", length = 500)
    private String row2Rule1;

    @Column(name = "row2_rule2", length = 500)
    private String row2Rule2;

    @Column(name = "row2_rule3", length = 500)
    private String row2Rule3;

    @Column(name = "row3_rule1", length = 500)
    private String row3Rule1;

    @Column(name = "row3_rule2", length = 500)
    private String row3Rule2;

    @Column(name = "row3_rule3", length = 500)
    private String row3Rule3;

    @Column(name = "row4_rule1", length = 500)
    private String row4Rule1;

    @Column(name = "row4_rule2", length = 500)
    private String row4Rule2;

    @Column(name = "row4_rule3", length = 500)
    private String row4Rule3;

    @Column(name = "row5_rule1", length = 500)
    private String row5Rule1;

    @Column(name = "row5_rule2", length = 500)
    private String row5Rule2;

    @Column(name = "row5_rule3", length = 500)
    private String row5Rule3;

    @Column(name = "markers_flag", nullable = false)
    private Boolean markersFlag;

    @Column(name = "record_model", length = 100)
    private String recordModel;

    @Column(name = "DESCR", length = 100)
    private String descr;

    @Column(name = "SORT")
    private BigInteger sort;

    @Column(name = "CHANGENO")
    private BigInteger changeNo;

    @Column(name = "CHANGEREASON")
    private String changeReason;

    @Column(name = "OLD_DATA")
    private String olddata;

    @Column(name = "EU_EMISSION_CERT_NO")
    private String euEmissionCertNo;

    //判重字段
    private String rulelist;




    @TyOtype(
            name = RTTableTypeConstant.TYPE_DESCRIBE_INFORMATION
    )
    private String otype= RTTableTypeConstant.TYPE_DESCRIBE_INFORMATION;


}